package org.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.entity.Asset;

import java.util.List;
import java.util.Map;

/**
 * @author 魏锴
 * @description 针对表【tb_asset】的数据库操作Service
 * @createDate 2024-01-05 18:41:41
 */
public interface AssetService extends IService<Asset> {
    boolean insertAsset(Asset asset);

    boolean updateAsset(Asset asset);

    boolean deleteAsset(int id);
    Asset getAssetById(int id);

    List<Asset> getAssetList(String name, String category, String label, int orgId);

    List<Map<String, Integer>> getOrgList();
}
